from tortoise import BaseDBAsyncClient


async def upgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `participate_jobs` ADD `audit` SMALLINT NOT NULL COMMENT '审核状态' DEFAULT 1;"""


async def downgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `participate_jobs` DROP COLUMN `audit`;"""
